//
//  AddFailureViewController.swift
//  OnceNectar
//
//  Created by 法正磊 on 2018/2/27.
//  Copyright © 2018年 com.inwhoop. All rights reserved.
//

import UIKit

class AddFailureViewController: BaseViewController, BottomShadow {
    @IBOutlet weak var mainView: UIView!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        setUI()
        // Do any additional setup after loading the view.
    }
    
    func setUI() {
        titleLabel(text: "创建场景", nil)
        setShadow(view: mainView, opacity: bottomShadowOpacity, size: bottomShadowOffset, color: UIColor.black, cornerradius: CORNERRADIUS)
    }
    
    override func setNavigation() {
    }

    @IBAction func reSearchTap(_ sender: UIButton) {
        let findDeviceVC = FindDeviceViewController(nibName: "\(FindDeviceViewController.self)", bundle: nil)
        navigationController?.pushViewController(findDeviceVC, animated: true)
    }
    

}
